/**
 * User: zsquirrel
 * Date: 2020/5/12
 * Time: 4:46 下午
 */
package com.cskaoyan.mall.model.vo;

import java.sql.Date;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Map;

public class NoReplyMsgVO {

    private Integer id;

    private Integer userId;

    private Integer goodsId;

    private String content;

    private Integer state;

    private String createtime;

    private Map goods;

    private Map user;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        DateFormat format = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
        this.createtime = format.format(createtime);
    }

    public Map getGoods() {
        return goods;
    }

    public void setGoods(Map goods) {
        this.goods = goods;
    }

    public Map getUser() {
        return user;
    }

    public void setUser(Map user) {
        this.user = user;
    }
}
